package io.renren.modules.pms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.pms.entity.ProductAttributeEntity;
import io.renren.modules.pms.entity.ProductCategoryAttributeRelationEntity;
import io.renren.modules.pms.entity.dto.RelationAttrInfoByCidDTO;

import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author LuoShun
 * @email lori6166@163.com
 * @date 2021-12-26 16:49:29
 */
public interface ProductAttributeService extends IService<ProductAttributeEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, long cid);

    boolean creat(ProductAttributeEntity productAttributeEntity);

    boolean delete(Map<String, Object> map);

    List<RelationAttrInfoByCidDTO> getRelationAttrInfoByCid(Long productCategoryId);
}

